package com.yangbo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import reactor.core.publisher.Mono;

/**
 * @author yangbo
 * @date 2019-08-29 15:18
 */
@RestController
public class FallBackController {

    /**
     * 错误返回
     * @return
     */
    @RequestMapping(value = "/fallback")
    public Mono<String> fallback() {
        return Mono.just("fallback");
    }
}
